//
//  HotRecommendTableViewCell.h
//  TestApplication
//
//  Created by Hanlingyu on 16/8/30.
//  Copyright © 2016年 ltq. All rights reserved.
//

#import "BaseTableViewCell.h"
@class Recommend;

@protocol backCellHeight <NSObject>

- (void)heigthOfCell:(CGFloat)height;

@end


@interface HotRecommendTableViewCell : BaseTableViewCell

@property (nonatomic, strong) UIView *backView;
@property (nonatomic, strong) UILabel *titleLabel;
@property (nonatomic, strong) UILabel *contentDetailLabel;
@property (nonatomic, strong) UICollectionViewFlowLayout *layout;
@property (nonatomic, strong) UIButton *attentionButton;
@property (nonatomic, strong) UICollectionView *hotRecommendCollectionView;

@property (nonatomic, strong) Recommend *recommend;

@property (nonatomic, assign) CGFloat heightOfFirstLine;
@property (nonatomic, assign) CGFloat heightOfSecLine;

@property (nonatomic, strong) id<backCellHeight> cellHeightDelegate;


@property (nonatomic, strong) void(^postChannelDetailPage)(NSString *);

@end
